window.onload = function() {
    var enterTitle = document.getElementById('enter_title');
    var oEnter = enterTitle.getElementsByTagName('a');
    var enter_Input_One = document.getElementById('enter_input_one');
    var enter_Input_Two = document.getElementById('enter_input_two');
    var oEnterOne = enterTitle.getElementsByTagName('a')[0];
    var oEnterTwo = enterTitle.getElementsByTagName('a')[1];

    for (var i = 0; i < oEnter.length; i++) {
        oEnter[i].onclick = function() {
            for (var i = 0; i < oEnter.length; i++) {
                oEnter[i].className = '';
            }
            this.className = 'enter_active';

            if (this == oEnterOne) {
                enter_Input_One.style.display = 'block';
                enter_Input_Two.style.display = 'none';
            } else if (this == oEnterTwo) {
                enter_Input_Two.style.display = 'block';
                enter_Input_One.style.display = 'none';
            }
        };
    }

}